package com.briup.bms.dao;

import com.briup.bms.bean.SCustomer;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Set;

@Mapper
public interface SCustomerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SCustomer record);

    SCustomer selectByPrimaryKey(Integer id);
    SCustomer selectByName(String name);

    List<SCustomer> selectAll();

    int updateByPrimaryKey(SCustomer record);

    List<SCustomer> selectByCondition(String name);

    void batchDelete(Set<Integer> customerIds);
}